package com.itheima.pojo.client;

import java.math.BigDecimal;

/**
 * @author ChenJunJie
 * @date 2022/6/20 14:12
 * 套餐模块套餐列表出参类
 */
public class SelectSetmealByCategoryIdAndStatusVo {
    /**
     *套餐id
     */
    private String id;
    /**
     *类型:1菜品分类 2套餐分类
     */
    private Integer type;
    /**
     *所属分类
     */
    private String categoryId;
    /**
     * 套餐名
     */
    private String name;
    /**
     * 套餐价格
     */
    private BigDecimal price;
    /**
     * 套餐状态 0禁用 1启用
     */
    private Integer status;
    /**
     *状态码:1成功 0失败
     */
    private String code;
    /**
     * 描述
     */
    private String description;
    /**
     * 图片
     */
    private String image;

    public SelectSetmealByCategoryIdAndStatusVo() {
    }

    public SelectSetmealByCategoryIdAndStatusVo(String id, Integer type, String categoryId, String name, BigDecimal price, Integer status, String code, String description, String image) {
        this.id = id;
        this.type = type;
        this.categoryId = categoryId;
        this.name = name;
        this.price = price;
        this.status = status;
        this.code = code;
        this.description = description;
        this.image = image;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "SelectSetmealByCategoryIdAndStatusVo{" +
                "id='" + id + '\'' +
                ", type=" + type +
                ", categoryId='" + categoryId + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", code='" + code + '\'' +
                ", description='" + description + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
